package com.ruoyi.function.mapper;


import com.ruoyi.function.domain.CarBrand;
import com.ruoyi.function.domain.CarModel;
import com.ruoyi.function.domain.CarSeries;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CarBrandMapper {
    
    List<CarBrand> selectBrandList(Integer status);
    
    List<CarSeries> selectSeriesByBrandId(Integer brandId);
    
    List<CarModel> selectModelBySeriesId(Integer seriesId);
    
    CarBrand selectById(Long brandId);
    
    CarSeries selectSeriesById(@Param("seriesId") Integer seriesId);
    
    CarModel selectModelById(@Param("modelId") Integer modelId);
} 